﻿using System;
namespace DealPoker
{
    /// <summary>
    ///
    /// </summary>

    //定义花色
    public enum PokerColor
    {
        红心 = -1,
        黑桃 = -2,
        梅花 = -3,
        方块 = -4
    }

    //定义大小
    public enum PokerNumber
    {
        Three = 3,
        Four,
        Five,
        Six,
        Seven,
        Eight,
        Nine,
        Ten,
        J,
        Q,
        K,
        A,
        Two
    }

    public class Poker
    {
        //花色属性
        public PokerColor p_Color
        {
            set;
            get;
        }
        //牌面属性
        public PokerNumber p_Number
        {
            set;
            get;
        }
        //构造方法
        public Poker(PokerColor p_c, PokerNumber p_n)
        {
            this.p_Color = p_c;
            this.p_Number = p_n;
        }
        //打印扑克信息
        public void PrintPokerInfo()
        {
            Console.WriteLine("花色:" + this.p_Color + " 大小：" + p_Number);
        }
    }

}